package com.webbei.Backstage.action;

import java.util.List;

import org.apache.struts2.ServletActionContext;

import com.webbei.Backstage.service.BackstateSer;
import com.webbei.friendcenter.service.MyFriendCenter;
import com.webbei.pojo.Cartypes;

public class GetALLCarTypesBySeriesIdAction {
	private BackstateSer bao;
	private List<Cartypes> carTypes;
	private int SeriesId;
	
	public String execute(){
		carTypes=bao.getAllCarTypesBySeriesId(SeriesId);
		return "success";
	}
	
	public int getSeriesId() {
		return SeriesId;
	}
	public void setSeriesId(int seriesId) {
		SeriesId = seriesId;
	}
	public void setBao(BackstateSer bao) {
		this.bao = bao;
	}
	public List<Cartypes> getCarTypes() {
		return carTypes;
	}
	public void setCarTypes(List<Cartypes> carTypes) {
		this.carTypes = carTypes;
	}
	
}
